<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>信息管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="/style/basic_layout.css" rel="stylesheet" type="text/css">
    <link href="/style/common_style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/js/jquery/jquery.js"></script>
    <script type="text/javascript" src="/artDialog/jquery.artDialog.js?skin=blue"></script>
    <script type="text/javascript" src="/js/jquery/plugins/jquery.form.min.js"></script>
    <script type="text/javascript" src="/js/commonAll.js"></script>
</head>
<body>
<form data-xxx="/systemmenu/list" name="editForm" action="/systemmenu/saveOrUpdate" method="post" id="editForm">
	<input type="hidden" name="parent.id" value="${parentId}">
	<div id="container">
		<div id="nav_links">
			<span style="color: #1A5CC6;">系统菜单${empty menu ? '添加' : '编辑'}</span>
			<div id="page_close">
				<a>
					<img src="/images/common/page_close.png" width="20" height="20" style="vertical-align: text-top;"/>
				</a>
			</div>
		</div>
		<div class="ui_content">
			<table cellspacing="0" cellpadding="0" width="100%" align="left" border="0">
				<tr>
					<td>
						<input type="hidden" name="id" value="${menu.id}">
					</td>
				</tr>
				<tr>
					<td class="ui_text_rt" width="140">父级菜单</td>
					<td class="ui_text_lt">
						<input readonly="readonly" style="color: gray;" class="ui_input_txt02" value="${parentName}"/>
					</td>
				</tr>
				<tr>
					<td class="ui_text_rt" width="140">系统菜单名称</td>
					<td class="ui_text_lt">
						<input name="name" class="ui_input_txt02" value="${menu.name}"/>
					</td>
				</tr>
				<tr>
					<td class="ui_text_rt" width="140">URL</td>
					<td class="ui_text_lt">
						<input name="url" class="ui_input_txt02" value="${menu.url}"/>
					</td>
				</tr>
				<tr>
					<td class="ui_text_rt" width="140">系统菜单编码</td>
					<td class="ui_text_lt">
						<input type="text" name="sn" class="ui_input_txt02" value="${menu.sn}"/>
					</td>
				</tr>
					<td>&nbsp;</td>
					<td class="ui_text_lt">
						&nbsp;<input type="submit" value="确定${empty menu ? '添加' : '编辑'}" class="ui_input_btn01"/>
						&nbsp;<input id="cancelbutton" type="reset" value="重置" class="ui_input_btn01"/>
					</td>
				</tr>
			</table>
		</div>
	</div>
</form>
</body>
</html>